#include <iostream>
#include <cmath>
using namespace std;

int main(){
    double a,b,c;
    cout<<"Enter two numbers: ";
    cin>>a>>b;
    c=hypot(a,b);
    cout<<c<<endl;
    return 0;
}
